font chooser: Add placeholder text to preview entry
authorMatthias Clasen <mclasen@redhat.com>
Sun, 19 Jul 2015 20:52:03 +0000 (16:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 19 Jul 2015 20:52:03 +0000 (16:52 -0400)
This will make things more understandable if an application
sets an empty preview text.
https://bugzilla.gnome.org/show_bug.cgi?id=725551

gtk/ui/gtkfontchooserwidget.ui

index 583afb16761d5bba792078636d8bf982eeb3b758..429dd2b648959a05af3a413ace34fed782598456 100644 (file)
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="invisible_char">•</property>
-                    <property name="text">Sample string goes here</property>
+                    <property name="text"></property>
+                    <property name="placeholder-text" translatable="yes">Preview text</property>
                     <signal name="scroll-event" handler="resize_by_scroll_cb" swapped="no"/>
                   </object>
                   <packing>